import request from '@/utils/request'

//获取学生提交列表
export function puted(problemId){
  return request({
    url: '/simhash/topFile/look/' + problemId,
    method: 'post'
  })
}
//获取学生提交列表
export function unPut(problemId){
  return request({
    url: '/simhash/topFile/looked/' + problemId,
    method: 'post'
  })
}
//修改题目
export function give(data) {
  return request({
    url: '/simhash/topFile/update',
    method: 'post',
    data: data
  })
}
//查询题目
export function queryById(id){
  return request({
    url: '/simhash/topFile/queryById/'+id,
    method: 'post'
  })
}
//删除
export function Delete(id){
  return request({
    url: '/simhash/topFile/delete/'+id,
    method: 'post'
  })
}
